import React, { Component } from 'react'
import {Link} from 'react-router-dom'
export default class Login extends Component {
    render() {
        return (
            <div>
                这是login页面
                <Link to="/home">去home页</Link>
                <button onClick={()=>this.props.history.push('/home')}>登录</button>
            </div>
        )
    }
}
